Skip to content

Add CoderPlan provider#2995

Open
onepaperbox wants to merge 2 commits into
anomalyco:devfrom
onepaperbox:add-coderplan
Open

Add CoderPlan provider#2995
onepaperbox wants to merge 2 commits into
anomalyco:devfrom
onepaperbox:add-coderplan

Conversation

@onepaperbox

Copy link
Copy Markdown

Resubmits #1973, which was closed by the stale bot (not rejected on merits) after the logo was added too late. This refreshes it against current dev with the logo included and pricing updated to current published rates.

CoderPlan — an OpenAI-compatible LLM API relay for the China market (Alipay/WeChat payment, ¥10 minimum top-up, Hong Kong/Singapore nodes). API at https://api.coderplan.ai/v1.

7 models with current per-token pricing (USD/M input/output, sourced from coderplan.ai/pricing on 2026-07-02):

Model Input Output
anthropic/claude-opus-4-7 0.68 3.42
anthropic/claude-sonnet-4-6 0.41 2.05
anthropic/claude-haiku-4-5 0.14 0.68
openai/gpt-5.5 0.34 2.05
openai/gpt-5.4 0.17 1.03
deepseek/deepseek-v4-pro 0.19 0.38
deepseek/deepseek-v4-flash 0.02 0.04

Each model uses base_model to inherit capabilities from the canonical entry, with CoderPlan-specific [cost] and reasoning_options mirroring the upstream providers (Claude toggle + budget_tokens; GPT-5 effort; DeepSeek toggle + effort). logo.svg is included.

bun validate passes locally. Open to any schema/positioning feedback — happy to adjust model selection, reasoning_options granularity, or add cache pricing if you can point me at how other relays publish it (CoderPlan's pricing page lists only input/output today).

@oskarkocol

Copy link
Copy Markdown
Contributor

One pattern I noticed across providers: the svg logos use currentColor and are effectively mono. Your's has colors.

@onepaperbox

Copy link
Copy Markdown
Author

Good catch @oskarkocol — converted the logo to monochrome currentColor (dropped the gradient background + colored fills), so it follows the same theme-adaptive pattern as the other providers. Pushed in onepaperbox/models.dev:add-coderplan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants